package org.jeecg.modules.dlxj.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.dlxj.entity.DlxjPatrolStatistics;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 巡检记录统计
 * @Author: lzl
 * @Date:   2022-07-29
 * @Version: V1.0
 */
public interface DlxjPatrolStatisticsMapper extends BaseMapper<DlxjPatrolStatistics> {


    /**
     * 巡检统计列表
     * @return
     */
    public List<DlxjPatrolStatistics> patrolStatisticsList();

    /**
     * 通过任务id和杆塔id查询
     * @param taskId
     * @param poleId
     * @return
     */
    public List<DlxjPatrolStatistics> queryByTaskIdAndPoleId(String taskId,String poleId);
}
